import request from '/@/utils/request'

// 获取存储引擎列表
export const storageLists = (params?: any) => request.get('/setting/storage/lists', params);

// 切换存储引擎
export const storageChange = (params?: any) => request.post('/setting/storage/change', params);

// 设置存储引擎信息
export const storageEdit = (params?: any) => request.post('/setting/storage/edit', params);

// 获取存储配置信息
export const storageDetail = (params?: any) => request.get('/setting/storage/detail', params);